console.log("加载完成");

requirejs.config({
    badeUrl: "js",
    paths: {
        "jquery": "jquery-1.11.3",
        "jquery-cookie": "jquery.cookie",
        "goodDesc": "goodDesc",
        "jqzoomCore": "jqzoom-core",
        "comment": "comment",
        "signin": "signin",
        "header": "header"

    },
    shim: {
        "jquery-cookie": ["jquery"],
        "jqzoomCore": ["jquery"]
    },
});

requirejs(["goodDesc", "signin", "header"], function (goodDesc, signin, header) {

    goodDesc.goodsDownload();
    goodDesc.goodsImgTab();
    goodDesc.detailTab();
    goodDesc.addGoods();

    signin.checkSignIn();

    header.usersTab();
    header.cartTab();
});